/**
 * Created with Intellij IDEA.
 * Description:
 * User:Lenovo
 * Date:2024-12-05
 * Time:14:26
 */
class Stdents{
    private String name;
    private int age;
    private String gender;
    private static int socre;
    {
        this.name = "小米";
        this.age = 18;
        this.gender = "男";
    }
    static {
        socre = 100;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getGender() {
        return gender;
    }

    public static int getSocre() {
        return socre;
    }

    @Override
    public String toString() {
        return "Stdents{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }
}

public class Text {
    public static void main(String[] args) {
        Stdents stdents = new Stdents();
        System.out.println(stdents);
        System.out.println(Stdents.getSocre());
    }
}
